/**
 * 
 */
package com.bjpowernode.adapters.impl;

import com.bjpowernode.adapters.IWorkerAdapter;
import com.bjpowernode.worker.IProgrammer;

public class ProgrammerAdapter implements IWorkerAdapter {

	@Override
	public String work(Object worker) {
		return ((IProgrammer) worker).program();
	}

	@Override
	public boolean supports(Object worker) {
		return (worker instanceof IProgrammer);
	}

}
